﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Login_old.aspx.cs" Inherits="BIExtAuth.Web.Login" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title><%=ConfigurationManager.AppSettings["WebTitle"] %></title>
    <link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
    <link href="css/Login.css" rel="stylesheet" type="text/css" />
    <script src="js/Login.js" type="text/javascript"></script>
    <script language="javascript" type="text/javascript">
        function myLoginCheck() {
            var ret1 = checkInfo("txtUserID", "lblUserMsg", "txtPwd", "lblPwdMsg");
            return ret1;
        }

        function clearAll() {
            var arr = new Array();
            arr[0] = "txtUserID";
            arr[1] = "lblUserMsg";
            arr[2] = "txtPwd";
            arr[3] = "lblPwdMsg";
            arr[4] = "<%=lblMsg.ClientID %>"
            setAll(arr, "txtUserID");
        }
    </script>
</head>
<body onselectstart="javascript:return false;">
    <form id="formLogin" action="<%=ActionUrl %>" method="post">
    <div class="divbg">
        <div class="divlogin">
            <div class="divcontent">
                <div class="divlogo">
                    <h1 style="font-size:25px;color:#0e9dee;">花都区经济运行共享分析平台</h1></div>
                <div class="divuser">
                    <img alt="用户" src="images/user24.png" style="width: 32px; height: 32px; margin-right: 5px;"
                        align="absmiddle" class="userimg" />用户：<input id="txtUserID" name="userid" type="text" title="用户名" maxlength="16" class="userinput"
                           maxlength="16" onblur="javascript:clearMsg('txtUserID', 'lblUserMsg')" /><label
                                id="lblUserMsg" class="lblTipMsg">请输入用户名</label>
                </div>
                <div class="divPwd">
                    <img alt="密码" src="images/key_yellow24.png" style="width: 32px; height: 32px; margin-right: 5px;"
                        align="absmiddle" class="pwdimg" />密码：<input id="txtPwd" name="password" title="密码" maxlength="16"
                            type="password" class="pwdinput" onblur="javascript:clearMsg('txtPwd', 'lblPwdMsg')" /><label
                                id="lblPwdMsg" class="lblTipMsg">请输入密码</label>
                </div>
                <div class="divButton" >
                    <input id="btnSubmit" type="submit" style="width: 101px; height: 40px;" value="" class="bdr0 btnSub" onclick="javascript:return myLoginCheck();" />
                    <input type="button" style="width: 101px; height: 40px;" class="bdr0 btnret" onclick="javascript:clearAll();return false;"
                        value="" id="btnReset" />
                    <a href="Admin/ChangePwd.aspx" style="vertical-align:middle;" target="_blank" title="修改密码">修改密码</a>
                </div>
                <div class="divMsg">
                    <asp:Label ID="lblMsg" Style="color: #F00; font-size: 14px; font-family: '微软雅黑', '宋体';
                        font-weight: bold;" runat="server" Text=""></asp:Label>
                </div>
            </div>
        </div>
    </div>
    </form>
    <script type="text/javascript">
        window.onload = function () { setFocus("txtUserID", "lblUserMsg", "txtPwd", "lblPwdMsg"); }
        function stop() {
            return false;
        }
        document.oncontextmenu = stop;
    </script>
</body>
</html>